package com.ruoyi.xh.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.xh.domain.XhOrderDesc;

/**
 * 订单明细Service接口
 * 
 * @author songjw
 * @date 2024-12-13
 */
public interface IXhOrderDescService extends IService<XhOrderDesc> {
    /**
     * 查询订单明细
     * 
     * @param id 订单明细主键
     * @return 订单明细
     */
     XhOrderDesc selectXhOrderDescById(Long id);

    /**
     * 查询订单明细列表
     * 
     * @param xhOrderDesc 订单明细
     * @return 订单明细集合
     */
    Page<XhOrderDesc> selectXhOrderDescList(XhOrderDesc xhOrderDesc);

    /**
     * 新增订单明细
     * 
     * @param xhOrderDesc 订单明细
     */
     void insertXhOrderDesc(XhOrderDesc xhOrderDesc);

    /**
     * 修改订单明细
     * 
     * @param xhOrderDesc 订单明细
     */
    void updateXhOrderDesc(XhOrderDesc xhOrderDesc);

    /**
     * 批量删除订单明细
     * 
     * @param ids 需要删除的订单明细主键集合
     */
    void deleteXhOrderDescByIds(Long[] ids);
}
